package cosplay.DAO;

import java.util.List;

import cosplay.Beans.Comments;

public interface CommentDAO {
	public int add (Comments comment);
	public boolean delete(int cid);
	public boolean edit (Comments comment,int id);
	public boolean approve(int cid);
	public boolean disapprove (int cid);
	public Comments get(int cid);
	public List<Integer> getAllUnapproved();
	public List<Integer> getByPhoto(int pid);
	public List<Integer> getByUser(int uid);
}
